package com.cssl.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class UpdateEquipmentDTO implements Serializable {
    /**
     *
     */
    private Integer id;

    /**
     * 类型：座位或者模块 （seat，module）
     */
    private Integer seat_id;

    /**
     * 名称/编号
     */
    private String item_name;

    /**
     * 状态（主要用于座位）：online,offline,occupied,maintenance
     */
    private Integer status;

    /**
     * 网格行位置
     */
    private Integer row_position;

    /**
     * 网格列位置
     */
    private Integer col_position;

    /**
     * 楼层：floor1,floor2
     */
    private Integer floor;

    /**
     * 模块类型:wall,entrance,testing,stairs,toilet,recption（仅对模块有效）
     */
    private Integer module_type;

    /**
     * 设备区域
     */
    private Integer region_id;

    private static final long serialVersionUID = 1L;

    public UpdateEquipmentDTO(){

    }
    public UpdateEquipmentDTO(Integer id, Integer seat_id, String item_name, Integer status, Integer row_position, Integer col_position, Integer floor, Integer module_type,  Integer region_id) {
        this.id = id;
        this.seat_id = seat_id;
        this.item_name = item_name;
        this.status = status;
        this.row_position = row_position;
        this.col_position = col_position;
        this.floor = floor;
        this.module_type = module_type;
        this.region_id = region_id;
    }
}
